home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / gas_251.zip / bin_251 / bfd / hosts / nbsd.h < prev    next >
C/C++ Source or Header  |  1994-09-13  |  637b  |  35 lines

  1. /* Architecture independant NetBSD host support */
  2.  
  3. #ifndef hosts_nbsd_H_
  4. #define hosts_nbsd_H__
  5.  
  6. #include <fcntl.h>
  7. #include <errno.h>
  8. #include <stdio.h>
  9. #include <stdlib.h>
  10. #include <sys/types.h>
  11. #include <sys/stat.h>
  12. #include <ctype.h>
  13. #include <string.h>
  14. #include <sys/file.h>
  15. #include <machine/param.h>
  16. #include <machine/vmparam.h>
  17. #include <machine/reg.h>
  18.  
  19. #ifndef    O_ACCMODE
  20. #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
  21. #endif
  22.  
  23. #define SEEK_SET 0
  24. #define SEEK_CUR 1
  25.  
  26. #define POSIX_UTIME
  27.  
  28. #include "fopen-same.h"
  29.  
  30. #define    HOST_PAGE_SIZE            NBPG
  31. #define    HOST_TEXT_START_ADDR        USRTEXT
  32. #define    HOST_STACK_END_ADDR        USRSTACK
  33.  
  34. #endif
  35.